// 角色相关的数据模型
const mongoose = require("mongoose");
const baseModel = require("./base");
// 创建数据模型
const commentSchema = new mongoose.Schema({
  ...baseModel,
  squareId: {
    type: String,
    required: true,
  },
  userInfo: {
    type: String,
    required: true,
  },
  commentContent: {
    type: String,
    required: true,
  },
});

module.exports = commentSchema;
